{set:$queryAccountLogList = Api::run('getUcenterAccoutLog',$this->user['user_id'])}
{set:$logList = $queryAccountLogList->find()}

<div id="pageInfo" data-title="我的余额"></div>
<section class="my_account">
    <strong>帐户余额</strong>
    <em>￥{$this->memberRow['balance']}</em>
</section>
{if:$logList}
<section class="account_list">
    <ul>
        {foreach:items = $logList}
        <li>
            <time>{echo:substr($item['time'],0,10)}</time>
            <strong>变动金额：</strong>
            <em>￥{$item['amount']}</em>
            <p><strong>事件：</strong>{$item['note']}</p>
        </li>
        {/foreach}
    </ul>
</section>
{$queryAccountLogList->getPageBar()}

{else:}
<section class="nodata">暂时没有帐户变动记录</section>
{/if}
<div class="btn_bottom">
	<a href="{url:/ucenter/withdraw}" class="btn_submit pink">申请提现</a>
</div>
<script>
$(function(){
    // 隐藏底部导航
    hideNav();
})
</script>
